package cn.sciento.farm.devicemanager.gateway.uplink.service.base;


import cn.sciento.farm.devicemanager.gateway.uplink.service.DataAdapter;

public abstract class AbstractByteAdapter implements DataAdapter {

    @Override
    public void handle(String[] subTopic, Object message) {
        analyseByte(subTopic, (byte[]) message);
    }

    abstract void analyseByte(String[] subTopic,byte[] data);
}
